import Vue from "vue";
import App from "./App.vue";
import store from "./store/index";
import router from "./router";

import Element from "element-ui";

//导入共用css文件
import "normalize.css/normalize.css"; // a modern alternative to CSS resets
import "element-ui/lib/theme-chalk/index.css";
import "@/styles/index.scss"; // global css
console.log("当前请求的基本地址", process.env.VUE_APP_BASE_API);

import "./permission"; // permission control

Vue.config.productionTip = false;
Vue.use(Element);

window.vueApp = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
